package com.guigu.buy.mapper;

import com.guigu.buy.dto.MerchantUtil;
import com.guigu.buy.pojo.Merchant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.buy.vo.MerchantVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface MerchantMapper extends BaseMapper<Merchant> {

    List<MerchantUtil> query(MerchantVo vo);

    int insertMerchant(Merchant merchant);

    List<Merchant> selectAllMerchants();

    Merchant selectMerchantById(Integer id);
}
